class List < ActiveRecord::Base
  has_many :items
  validates_presence_of :name
  
  
  def self.find_all_lists
    find(:all, :order => "id DESC")
  end
  
  def self.info(id)
    find(id)
  end
  
  
  
end
